import cv2 as cv

#  读取图片
img = cv.imread('../rw222rgjk/opencv/img/张飞.jpg')

# 显示图片
cv.imshow('img', img)

cv.waitKey(0)  # 等待键盘输入
cv.destroyAllWindows()  # 关闭所有窗口
